package com.ruoyi.publish.service;

import com.ruoyi.publish.domain.RecommendColumn;
import net.sf.jsqlparser.schema.Column;

import java.util.List;
import java.util.Map;

public interface RecommendColumnService {

    List<RecommendColumn> selectRecommend(RecommendColumn recommendColumn);

    int insert(RecommendColumn recommendColumn);

    int update(RecommendColumn recommendColumn);

    int deleteById(Long recommendId);

    //子栏目
    List<RecommendColumn>  selectChildColumn(Long parentId);


    List<Column> selectAvailableSecondLevelColumns(Long parentId);

    List<Map<String,Object>> selectColumnName();
}
